﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Setting
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    <script src="../../Scripts/jquery.cookie.js" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/hiTable.js") %>" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/jquery.pagination.js") %>" type="text/javascript"></script>
    <%-- 树形插件--%>
    <script src="<%: Url.Content("~/Scripts/jquery.ztree.all-3.4.js") %>" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/jquery.ztree.core-3.4.js") %>" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/jquery.ztree.excheck-3.4.js") %>" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/Role/Setting.js") %>" type="text/javascript"></script>
    <%--  验证控件--%>
    <script src="../../Scripts/jquery.form.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.validate.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.validate.expand.js" type="text/javascript"></script>
    <link href="<%: Url.Content("~/Content/CSS/Common/Common.css") %>" rel="stylesheet"
        type="text/css" />
    <script type="text/javascript">
        var SaveSuccess = "<%:Html.Lang("Role_Setting_SaveSuccess")%>";
        var SaveFail = "<%:Html.Lang("Role_Setting_SaveFail")%>";
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <%:Html.Lang("Role_Setting_RoleName")%>
        <input id="RoleName" type="text" value="<%=Html.Encode(ViewData["RoleName"].ToString())%>" disabled="disabled"/><br />
        <br />
        <input id="RoleId" type="hidden" value="<%=Html.Encode(ViewData["Id"].ToString())%>" />
    </div>
    <table width="100%">
        <tr>
            <td id="LeftTable" style="width: 45%; vertical-align: top;">
                <div style="float: left; width: 100%">
                    <a><b style="font-size: 17px;">
                        <%:Html.Lang("Role_Setting_StaffList")%></b> </a>
                    <br />
                    <br />
                </div>
                <span style="float: right">
                    <%:Html.Lang("Role_Setting_Staff")%>
                    <input type="text" id="TextUserLeft" style="width: 100px; vertical-align: middle" />
                    <input type="button" class="SpanButton" id="imgSearchLeft" value="Search" />
                </span>
                <br />
                <table id="tbLeft" class="hiTable" style="width: 100%">
                    <thead>
                        <tr>
                            <td style="width: 20px">
                                <input type="checkbox" />
                            </td>
                            <td style="width: 20%">
                                <%:Html.Lang("Role_Setting_StaffNO")%>
                            </td>
                            <td style="width: 70%">
                                <%:Html.Lang("Role_Setting_StaffName")%>
                            </td>
                        </tr>
                    </thead>
                    <tbody>
                    </tbody>
                </table>
                <div class="paginationcontainer" style="width: 100%">
                    <!-- PageBar html 代码开始-->
                    <div id="PageToolbarLeft" class="pageBar">
                        <select id="perPageLeft">
                            <option value="10">10</option>
                            <option value="20">20</option>
                            <option value="30">30</option>
                            <option value="40">40</option>
                            <option value="50">50</option>
                        </select>
                        <div id="PageBarLeft" class="pagination">
                            <!-- 这里显示分页 -->
                        </div>
                    </div>
                    <!-- PageBar html 代码结束-->
                </div>
            </td>
            <td id="center" style="width: 10%; vertical-align: middle;">
                <div style="width: 100%; padding-left: 40%;">
                    <img id="Add" alt="赋予权限" title="Add" style="cursor: pointer" src="../../Content/images/moveRight.png" />
                    <br />
                    <br />
                    <img id="Delete" alt="移除权限" title="Delete" style="cursor: pointer" src="../../Content/images/moveLeft.png" />
                </div>
            </td>
            <td id="RightTable" style="width: 45%; vertical-align: top;">
                <div style="float: right; width: 100%">
                    <a><b style="font-size: 17px;">
                        <%:Html.Lang("Role_Setting_SelectedList")%></b> </a>
                    <br />
                    <br />
                </div>
                <br />
                <table id="tbRight" class="hiTable" style="width: 100%; boder: 0px;">
                    <thead>
                        <tr>
                            <td style="width: 20px">
                                <input type="checkbox" />
                            </td>
                            <td style="width: 20%">
                                <%:Html.Lang("Role_Setting_StaffNO1")%>
                            </td>
                            <td style="width: 70%">
                                <%:Html.Lang("Role_Setting_StaffName2")%>
                            </td>
                        </tr>
                    </thead>
                    <tbody>
                    </tbody>
                </table>
                <div class="paginationcontainer" style="width: 100%">
                    <!-- PageBar html 代码开始-->
                    <div id="PageToolbarRight" class="pageBar">
                        <select id="perPageRight">
                            <option value="10">10</option>
                            <option value="20">20</option>
                            <option value="30">30</option>
                            <option value="40">40</option>
                            <option value="50">50</option>
                        </select>
                        <div id="PageBarRight" class="pagination">
                            <!-- 这里显示分页 -->
                        </div>
                    </div>
                    <!-- PageBar html 代码结束-->
                </div>
            </td>
        </tr>
    </table>
    <div style="text-align: center;">
        <button id="Back" type="submit" class="SpanButton" style="width: 70px;" onclick="window.location.href='/Role/Index';">
            <img src="../../Content/Images/back_new.png" alt="Back" />
        </button>
    </div>
</asp:Content>
